package com.github.sbb.sherry.primitives.config.fetcher;

import com.github.sbb.sherry.common.annotations.NotNull;
import com.github.sbb.sherry.common.base.ValidateResult;

public abstract class FetcherConfig {

  private Byte defaultFetchMethod;

  @NotNull
  public abstract ValidateResult validate();

  public Byte getDefaultFetchMethod() {
    return defaultFetchMethod;
  }

  public void setDefaultFetchMethod(Byte defaultFetchMethod) {
    this.defaultFetchMethod = defaultFetchMethod;
  }
}
